import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";

import router from "./router";
import "@/assets/main.scss";
import ECharts from "vue-echarts";

import chinaMap from "@/assets/china.json";
import "@/style/font.scss";
import echarts from "echarts"; //引入echarts
import "echarts-liquidfill";

Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;

ECharts.registerMap("china", chinaMap);
Vue.component("chart", ECharts);

new Vue({
  router,

  render: (h) => h(App),
}).$mount("#app");
